package com.Jin.controller;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    private Integer code;   //执行状态码status
    private String msg;     //描述信息
    private Object data;    //封装数据

    public Result(Integer code,Object data){
        this.data = data;
        this.code = code;
    }


}
